Node.js Essentials by Fabian Cook

Node.js Essentials by Fabian Cook

Author:Fabian Cook [Cook, Fabian]
Language: eng
Format: azw3, epub
Publisher: Packt Publishing
Published: 2015-11-09T16:00:00+00:00


If you list what's in the directory you will see a new file has been created:

[~/examples/example-11]$ ls index.js log.log node_modules

If you read what's in the file you will see that the logs have already been written:

[~/examples/example-11]$ cat log.log {"name":"example-11","hostname":"macbook.local","pid":3614,"level":30,"http_parser":"2.3","node":"0.12.2","v8":"3.28.73","uv":"1.4.2-node1","zlib":"1.2.8","modules":"14","openssl":"1.0.1m","msg":"","time":"2015-06-07T12:29:46.606Z","v":0} {"name":"example-11","hostname":"macbook.local","pid":3614,"level":30,"msg":"Application started","time":"2015-06-07T12:29:46.608Z","v":0}



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.